function [ demand ] = demandOfRoute( EdgesMatrix, DemandMatrix ) 

    demand = 0;

    for i=1:size(EdgesMatrix, 1)       
        demand = demand + DemandMatrix( EdgesMatrix(i, 1), EdgesMatrix(i, 2) );        
    end

end

